import http from "../../utils/http"

const consumablesSettings = {
    // ------------------耗材服务管理
    // 获取服务列表
    getServeList: (data) => http.get('/warehouse/serve_list', data),
    // 新增服务设置
    addServe: (data) => http.post('/warehouse/serve_add', data),
    // 编辑服务设置
    editServe: (data) => http.put('/warehouse/serve_edit', data),
    // 删除服务设置
    deleteServe: (data) => http.delete('/warehouse/serve_delete', data),
    // 获取服务下拉列表
    getServiceItemList: (data) => http.get('/warehouse/service_item_list', data),

    // ------------------耗材设置管理
    // 获取耗材列表
    getconsumablesSettingsList: (data) => http.get('/warehouse/serve_config_list', data),
    // 保存耗材设置
    saveconsumablesSettings: (data) => http.post('/warehouse/serve_config_save', data),
    // 删除耗材设置
    deleteconsumablesSettings: (data) => http.delete('/warehouse/serve_config_delete', data),
}

export default consumablesSettings;